package week9;

public class Carshop {
    private double money;
    public void sellCar(Car car){
        System.out.println("销售了："+car.getName());
        money +=car.getPrice();
    }
    public double getMoney(){
            return money;
        }
}
